package com.woniuxy.factory.mapper;

import com.woniuxy.factory.entity.Report;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ReportMapper {
    void insertReport(Report report);

    List<Report> selectAllReport(@Param("report") Report report,@Param("page") int page,@Param("limit") int limit);

    int selectReportCounts(@Param("report") Report report);

    void deleteReportById(String repId);

    Report reportEcho(String repId);

    void updateReportById(Report report);

    Report selectReportByPlanid(String planid);

    int selectScheduleState(String planid);
}
